package com.danskin.wechat.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.danskin.wechat.entity.WxFansMsgReply;

public interface WxFansMsgReplyDao {

	public Integer save(WxFansMsgReply wxFansMsgReply);
	
	/**
	 * 根据ID查询对象
	 * @param Id
	 * @return
	 */
	public WxFansMsgReply selectWxFansMsgReplyById(Integer primeKey);
	
	/**
	 * 根据查询对象和分页条件，查询平台用户list
	 * @param wxFansMsgReply
	 * @return
	 */
	public List<WxFansMsgReply> selectWxFansMsgReplyPageList(@Param("wxFansMsgReply")WxFansMsgReply wxFansMsgReply, @Param("offset") int offset, @Param("limit") int limit);
	
	/**
	 * 根据查询对象和分页条件，查询平台用户list
	 * @param wxFansMsgReply
	 * @return
	 */
	public List<WxFansMsgReply> selectWxFansMsgReplyList(WxFansMsgReply wxFansMsgReply);
	
	/**
	 * 根据查询对象查询总数
	 * @param wxFansMsgReply
	 * @return
	 */
	public int selectWxFansMsgReplyPageCount(WxFansMsgReply wxFansMsgReply);
	
	
	/**
	 * 新增
	 * @param wxFansMsgReply
	 * @return
	 */
	public int insert(WxFansMsgReply wxFansMsgReply);
	
	
	/**
	 * 更新用户
	 * @param wxFansMsgReply
	 */
	public int updateWxFansMsgReply(WxFansMsgReply wxFansMsgReply);
	
	/**
	 * 根据用户id删除user
	 * @param id
	 */
	public int deleteWxFansMsgReplyById(Integer primeKey);
	
}
